package com.kgc.mapper;

import com.kgc.bean.DiscountTrick;


import com.kgc.bean.DiscountTrickExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DiscountTrickMapper {
    long countByExample(DiscountTrickExample example);

    int deleteByExample(DiscountTrickExample example);

    int deleteByPrimaryKey(Integer id);

    int adddiscount(DiscountTrick discountTrick);

    int insertSelective(DiscountTrick record);

    List<DiscountTrick> selectByExample(DiscountTrickExample example);

    DiscountTrick selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DiscountTrick record, @Param("example") DiscountTrickExample example);

    int updateByExample(@Param("record") DiscountTrick record, @Param("example") DiscountTrickExample example);

    int updateByPrimaryKeySelective(DiscountTrick record);

    int updateByPrimaryKey(DiscountTrick record);


}